Boolean Tensor Decomposition for Conjunctive Queries with Negation
نویسندگان
چکیده
We propose an algorithm for answering conjunctive queries with negation, where the negated relations are sparse. Its data complexity matches that of the best known algorithms for the positive subquery of the input query and is expressed in terms of the fractional hypertree width and the submodular width. The query complexity depends on the structure of the negated subquery; in general it is exponential in the number of join variables occurring in negated relations yet it becomes polynomial for several classes of queries. This algorithm relies on several contributions. We show how to rewrite queries with negation on sparse relations into equivalent conjunctive queries with not-all-equal (NAE) predicates, which are a multi-dimensional analog of disequality ( 6 =). We then generalize the known color-coding technique to conjunctions of NAE predicates and explain it via a Boolean tensor decomposition of conjunctions of NAE predicates. This decomposition can be achieved via a probabilistic construction that can be derandomized efficiently.
منابع مشابه
Containment of Conjunctive Queries with Negation: Algorithms and Experiments
We consider the containment problem for conjunctive queries with atomic negation. Firstly, we refine an existing algorithm based on homomorphism checks, which itself improves other known algorithms in databases, and analyze it experimentally. Secondly, we present a new algorithm based on the translation of the containment problem into the problem of checking the unsatisfiability of a propositio...
متن کاملTraitement de requêtes conjonctives avec négation : algorithmes et expérimentations. (Processing of Conjunctive Queries with Negation: Algorithms and Experiments)
In this thesis, we consider problems at the intersection of two areas: databases andknowledge bases. We focus on two equivalent problems on conjunctive queries with nega-tion : query containment and query answering with boolean queries while making theopen-world assumption. We reformulate these problems as a deduction problem in a first-order logic fragment. Then we refine exist...
متن کاملOn the Containment Problem for Queries with Safe Negation
We consider the problem of query containment for conjunctive queries with safe negation property. A special class of queries is specified. For this class an algorithm to test the containment problem is given. The time complexity of this algorithm is presented.
متن کاملRESEARCH REPORT On the Complexity of Deduction in Existential Conjunctive First Order Logic with Atomic Negation (Long Version)
We consider the deduction problem in the fragment of first-order logic (FOL) composed of existentially closed conjunctions of literals (without functions), denoted FOL{∃,∧,¬a}. This problem can be recast as several fundamental problems in artificial intelligence and databases, namely query containment for conjunctive queries with negation, clause entailment for clauses without functions and que...
متن کاملOn the complexity of entailment in existential conjunctive first-order logic with atomic negation
We consider the entailment problem in the fragment of first-order logic (FOL) composed of existentially closed conjunctions of literals (without functions), denoted FOL(∃,∧,¬a). This problem can be recast as several fundamental problems in artificial intelligence and databases, namely query containment for conjunctive queries with negation, clause entailment for clauses without functions and qu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1712.07445 شماره
صفحات -
تاریخ انتشار 2017